package cn.msqweb.src.feign.sentinel;


import cn.msqweb.entity.Member;
import cn.msqweb.entity.MemberAddr;
import cn.msqweb.model.Result;
import cn.msqweb.src.feign.OrderMemberFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 *
 */
@Component
@Slf4j
public class OrderMemberFeignSentinel implements OrderMemberFeign {
    @Override
    public Result<Member> getMemberByOpenId(String openId) {
        log.error("远程调用失败：根据会员openId查询会员信息");
        return null;
    }

    @Override
    public Result<MemberAddr> getMemberAddrById(Long id) {
        log.error("远程调用失败：根据ID查询收货地址信息");
        return null;
    }
}
